package com.gengzp.common.model.permission.resp;

import com.gengzp.common.document.annotations.ApiModel;
import com.gengzp.common.document.annotations.ApiModelProperty;
import com.gengzp.common.model.permission.dto.RelationRoleInfoDto;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * @ClassName SearchUserRoleRelationResp
 * @Description 查询用户角色关联关系
 * @Author gengzp
 * @Date 2025/5/18 0:20
 */
@Data
@ApiModel(description = "查询用户角色关联关系")
public class SearchUserRoleRelationResp implements Serializable {

    @Serial
    private static final long serialVersionUID = 7848386668215375965L;

    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    private String userId;

    /**
     * 关联角色信息
     */
    @ApiModelProperty(value = "关联角色信息", collectionGenericClass = RelationRoleInfoDto.class)
    private List<RelationRoleInfoDto> relationRoles;

}
